<?php
$token = "";
if (isset($_REQUEST['token'])) {
    $token = $_REQUEST['token'] . "/";
}
?>
<meta http-equiv="refresh" content="0; url=<?php echo $loc; ?>confirm/<?php echo $token; ?>"/>